home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / MPW_TOOL / TOOLS / TOOLS_WI / PERL / T / OP / SLEEP.T < prev    next >
Text File  |  1991-04-28  |  173b  |  9 lines

  1. #!./perl
  2.  
  3. # $Header: sleep.t,v 4.0 91/03/20 01:54:34 lwall Locked $
  4.  
  5. print "1..1\n";
  6.  
  7. $x = sleep 2;
  8. if ($x >= 2 && $x <= 10) {print "ok 1\n";} else {print "not ok 1 $x\n";}
  9.